package com.woniu.sale.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * bs_provider
 * @author 
 */
public class BsProvider implements Serializable {
    /**
     * ��Ӧ��ID
     */
    private String providerid;

    /**
     * ��Ӧ������
     */
    private String providername;

    /**
     * ��Ӧ�̼��
     */
    private String providershort;

    /**
     * ��Ӧ�����(�磺���ڹ�Ӧ�̡����⹩Ӧ��)
     */
    private String providertype;

    /**
     * ��Ӧ�̵�ַ
     */
    private String provideraddress;

    /**
     * ��Ӧ����ϵ��
     */
    private String linkman;

    /**
     * ��ϵ�˵绰
     */
    private String linkmantel;

    /**
     * ��Ӧ�̵绰
     */
    private String providertel;

    /**
     * ��Ӧ�̴���
     */
    private String providerfax;

    /**
     * ��������
     */
    private String postcode;

    /**
     * �ʺ�
     */
    private String account;

    /**
     * ˰��
     */
    private String taxnum;

    /**
     * �������
     */
    private BigDecimal trustmny;

    /**
     * �����ȼ�
     */
    private String transtatuskbn;

    /**
     * ��Ӧ�̷������
     */
    private String venderrtndis;

    /**
     * �Ƿ��2��Ӧ��
     */
    private String secondflg;

    /**
     * ��Ӧ����ַ
     */
    private String providerwww;

    /**
     * ��Ӧ�̼��
     */
    private String providerintro;

    /**
     * ����ʱ��
     */
    private Date updatedate;

    /**
     * ������
     */
    private String updateman;

    /**
     * ״̬
     */
    private String status;

    private static final long serialVersionUID = 1L;

    public String getProviderid() {
        return providerid;
    }

    public void setProviderid(String providerid) {
        this.providerid = providerid;
    }

    public String getProvidername() {
        return providername;
    }

    public void setProvidername(String providername) {
        this.providername = providername;
    }

    public String getProvidershort() {
        return providershort;
    }

    public void setProvidershort(String providershort) {
        this.providershort = providershort;
    }

    public String getProvidertype() {
        return providertype;
    }

    public void setProvidertype(String providertype) {
        this.providertype = providertype;
    }

    public String getProvideraddress() {
        return provideraddress;
    }

    public void setProvideraddress(String provideraddress) {
        this.provideraddress = provideraddress;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getLinkmantel() {
        return linkmantel;
    }

    public void setLinkmantel(String linkmantel) {
        this.linkmantel = linkmantel;
    }

    public String getProvidertel() {
        return providertel;
    }

    public void setProvidertel(String providertel) {
        this.providertel = providertel;
    }

    public String getProviderfax() {
        return providerfax;
    }

    public void setProviderfax(String providerfax) {
        this.providerfax = providerfax;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getTaxnum() {
        return taxnum;
    }

    public void setTaxnum(String taxnum) {
        this.taxnum = taxnum;
    }

    public BigDecimal getTrustmny() {
        return trustmny;
    }

    public void setTrustmny(BigDecimal trustmny) {
        this.trustmny = trustmny;
    }

    public String getTranstatuskbn() {
        return transtatuskbn;
    }

    public void setTranstatuskbn(String transtatuskbn) {
        this.transtatuskbn = transtatuskbn;
    }

    public String getVenderrtndis() {
        return venderrtndis;
    }

    public void setVenderrtndis(String venderrtndis) {
        this.venderrtndis = venderrtndis;
    }

    public String getSecondflg() {
        return secondflg;
    }

    public void setSecondflg(String secondflg) {
        this.secondflg = secondflg;
    }

    public String getProviderwww() {
        return providerwww;
    }

    public void setProviderwww(String providerwww) {
        this.providerwww = providerwww;
    }

    public String getProviderintro() {
        return providerintro;
    }

    public void setProviderintro(String providerintro) {
        this.providerintro = providerintro;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public String getUpdateman() {
        return updateman;
    }

    public void setUpdateman(String updateman) {
        this.updateman = updateman;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BsProvider other = (BsProvider) that;
        return (this.getProviderid() == null ? other.getProviderid() == null : this.getProviderid().equals(other.getProviderid()))
            && (this.getProvidername() == null ? other.getProvidername() == null : this.getProvidername().equals(other.getProvidername()))
            && (this.getProvidershort() == null ? other.getProvidershort() == null : this.getProvidershort().equals(other.getProvidershort()))
            && (this.getProvidertype() == null ? other.getProvidertype() == null : this.getProvidertype().equals(other.getProvidertype()))
            && (this.getProvideraddress() == null ? other.getProvideraddress() == null : this.getProvideraddress().equals(other.getProvideraddress()))
            && (this.getLinkman() == null ? other.getLinkman() == null : this.getLinkman().equals(other.getLinkman()))
            && (this.getLinkmantel() == null ? other.getLinkmantel() == null : this.getLinkmantel().equals(other.getLinkmantel()))
            && (this.getProvidertel() == null ? other.getProvidertel() == null : this.getProvidertel().equals(other.getProvidertel()))
            && (this.getProviderfax() == null ? other.getProviderfax() == null : this.getProviderfax().equals(other.getProviderfax()))
            && (this.getPostcode() == null ? other.getPostcode() == null : this.getPostcode().equals(other.getPostcode()))
            && (this.getAccount() == null ? other.getAccount() == null : this.getAccount().equals(other.getAccount()))
            && (this.getTaxnum() == null ? other.getTaxnum() == null : this.getTaxnum().equals(other.getTaxnum()))
            && (this.getTrustmny() == null ? other.getTrustmny() == null : this.getTrustmny().equals(other.getTrustmny()))
            && (this.getTranstatuskbn() == null ? other.getTranstatuskbn() == null : this.getTranstatuskbn().equals(other.getTranstatuskbn()))
            && (this.getVenderrtndis() == null ? other.getVenderrtndis() == null : this.getVenderrtndis().equals(other.getVenderrtndis()))
            && (this.getSecondflg() == null ? other.getSecondflg() == null : this.getSecondflg().equals(other.getSecondflg()))
            && (this.getProviderwww() == null ? other.getProviderwww() == null : this.getProviderwww().equals(other.getProviderwww()))
            && (this.getProviderintro() == null ? other.getProviderintro() == null : this.getProviderintro().equals(other.getProviderintro()))
            && (this.getUpdatedate() == null ? other.getUpdatedate() == null : this.getUpdatedate().equals(other.getUpdatedate()))
            && (this.getUpdateman() == null ? other.getUpdateman() == null : this.getUpdateman().equals(other.getUpdateman()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getProviderid() == null) ? 0 : getProviderid().hashCode());
        result = prime * result + ((getProvidername() == null) ? 0 : getProvidername().hashCode());
        result = prime * result + ((getProvidershort() == null) ? 0 : getProvidershort().hashCode());
        result = prime * result + ((getProvidertype() == null) ? 0 : getProvidertype().hashCode());
        result = prime * result + ((getProvideraddress() == null) ? 0 : getProvideraddress().hashCode());
        result = prime * result + ((getLinkman() == null) ? 0 : getLinkman().hashCode());
        result = prime * result + ((getLinkmantel() == null) ? 0 : getLinkmantel().hashCode());
        result = prime * result + ((getProvidertel() == null) ? 0 : getProvidertel().hashCode());
        result = prime * result + ((getProviderfax() == null) ? 0 : getProviderfax().hashCode());
        result = prime * result + ((getPostcode() == null) ? 0 : getPostcode().hashCode());
        result = prime * result + ((getAccount() == null) ? 0 : getAccount().hashCode());
        result = prime * result + ((getTaxnum() == null) ? 0 : getTaxnum().hashCode());
        result = prime * result + ((getTrustmny() == null) ? 0 : getTrustmny().hashCode());
        result = prime * result + ((getTranstatuskbn() == null) ? 0 : getTranstatuskbn().hashCode());
        result = prime * result + ((getVenderrtndis() == null) ? 0 : getVenderrtndis().hashCode());
        result = prime * result + ((getSecondflg() == null) ? 0 : getSecondflg().hashCode());
        result = prime * result + ((getProviderwww() == null) ? 0 : getProviderwww().hashCode());
        result = prime * result + ((getProviderintro() == null) ? 0 : getProviderintro().hashCode());
        result = prime * result + ((getUpdatedate() == null) ? 0 : getUpdatedate().hashCode());
        result = prime * result + ((getUpdateman() == null) ? 0 : getUpdateman().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", providerid=").append(providerid);
        sb.append(", providername=").append(providername);
        sb.append(", providershort=").append(providershort);
        sb.append(", providertype=").append(providertype);
        sb.append(", provideraddress=").append(provideraddress);
        sb.append(", linkman=").append(linkman);
        sb.append(", linkmantel=").append(linkmantel);
        sb.append(", providertel=").append(providertel);
        sb.append(", providerfax=").append(providerfax);
        sb.append(", postcode=").append(postcode);
        sb.append(", account=").append(account);
        sb.append(", taxnum=").append(taxnum);
        sb.append(", trustmny=").append(trustmny);
        sb.append(", transtatuskbn=").append(transtatuskbn);
        sb.append(", venderrtndis=").append(venderrtndis);
        sb.append(", secondflg=").append(secondflg);
        sb.append(", providerwww=").append(providerwww);
        sb.append(", providerintro=").append(providerintro);
        sb.append(", updatedate=").append(updatedate);
        sb.append(", updateman=").append(updateman);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}